package com.hxzy.controller.vue.login.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * @Author wy
 * @Description TODO
 * @Date 2023/8/29 9:14
 * @Version 1.0
 */
@Getter
@Setter
@ToString
@ApiModel(value = "后台登录模型")
public class AdminLoginReq {

    @NotBlank(message = "账号不能为空")
    @ApiModelProperty(value = "账号",required = true)
    private String account;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码",required = true)
    private String password;

    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty(value = "验证码",required = true)
    private String code;

    @NotBlank(message = "验证码令牌不能为空")
    @ApiModelProperty(value = "验证码令牌",required = true)
    private String uuid;

    @NotBlank(message = "账号类型不能为空")
    @ApiModelProperty(value = "账号类型（admin管理员,merchandiser商家）",required = true)
    private String type;
}
